package com.chen.manager.service.impl;

import com.chen.log.aspect.LogAspect;
import com.chen.log.service.LogAspectService;
import com.chen.manager.mapper.LogAspectMapper;
import com.chen.model.entity.system.SysOperLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @author cgj
 * @date 3/25/25 8:03 PM
 */
@Service
public class LogAspectServiceImpl implements LogAspectService {
   @Autowired
   private LogAspectMapper logAspectMapper;
    @Override
    @Async
    public void savaOperLog(SysOperLog sysOperLog) {
        logAspectMapper.insertSysOperLog(sysOperLog);
    }
}
